package com.ls.hnks.service;

import com.ls.hnks.util.Result;
import com.ls.hnks.model.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 15375
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2023-01-25 21:58:36
*/
public interface UserService extends IService<User> {

    Result loginByPassword(String phone, String pwd);

    Result getSelfInfo(String userId);

    Result getGroupMember(String userId);

    Result getUserByPage(Integer page, Integer size);

    Result getDetails(String id);

    void saveUser(User user);

    void removeUser(String id);

    List<User> getExperienceAccount();
}
